<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    
    <title>head</title>
    <script type="text/javascript" src="../js/jquery-1.4.3.js"></script>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<script type="text/javascript">

	
	
	</script>
  </head>
  <body>
  <div align="center">
<table width="991" align="center" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="1000" rowspan="2"><img src="<%=request.getContextPath() %>/image/web/1.jpg" width="360" height="100" border="0" usemap="#Map" /></td>
    <td width="629">
		<span class="head_toutext" id="logininfo">
		
	      	<s:if test="#session.user == null">
			 <form name="form2" method="post" action="login" style="border:0px;margin:0;padding:0" id="s0">
		           <table style="font:12px '宋体'; color:#666c6b" height="40px" id="s1">
		               <tr>
			               <td width="30" >账号:</td>
		                   <td width="80" ><input  type="text" name="user.name"  style="width:80px; height:20px"/></td>
		                   <td width="30"  >密码:</td>
		                   <td width="80"  ><input type="password" name="user.password" style="width:80px; height:20px"></td>
		                   <td width=67><input type="submit"  value="登录"/></td>
		                   <td width="37"><a href="<%=request.getContextPath() %>/JSP/register.jsp" target="_blank" class="reg_log">注册</a></td>
		                   <td width="54"  ><a href="#" target="_blank" class="reg_log">忘记密码?</a></td>
		               </tr>
		         </table>
		  </form>
		 </s:if>
		 <s:else>
		 <b>您好${user.name}，欢迎光临XX网</b>
				&nbsp;<a href="/VS/logout" class="b">登出</a>&nbsp;<a href="<%=request.getContextPath() %>/JSP/release.jsp">管理</a>
				
		</s:else>
		</span>
		</td>
		</tr>	
    <tr>
    <td ><img src="<%=request.getContextPath() %>/image/web/3.gif" width="640" height="60" border="0" usemap="#Map2" /></td>
  </tr>
</table>
</div>  



  </body>
</html>
